package com.dmy.common.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * create by huahuadelei for 2020/1/4
 */
@Data
public class BaseModel implements Serializable {

    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    private Date createTime;
    private Date updateTime;
    @TableLogic
    private Integer del;

}
